package com.xsf.pay.common.constants;

/**
 * @author 18961
 */
public class RedisConstant {
    /**
     * 全局缓存头
     */
    private final static String PREFIX = "pay:";
    /**
     * access_token 缓存
     */
    public final static String ACCESS_TOKEN_CACHE = PREFIX + "USER:ACCESS_TOKEN_CACHE_{}";
    /**
     * refresh_token 缓存
     */
    public final static String REFRESH_TOKEN_CACHE = PREFIX + "USER:REFRESH_TOKEN_CACHE_{}";
    /**
     * 用户验证码 缓存
     */
    public final static String USER_PHONE_CACHE = PREFIX + "USER:USER_PHONE_CACHE_{}";
    /**
     * nonce主键
     */
    public static final String NONCE_STR = PREFIX + "NONCE:{}";
}
